ShortPixel\Controller\OtherMediaController B

Total Complexity 84
Dependencies 4
Dependents 7
Total lines 494
Lines of code 341
Logical lines of code 198
Comment lines 45
Methods 22
Properties 4

Methods 22

Method Rating Maintainability Complexity Lines of code
ajaxBrowseContent()
B
39 17 57
getFolders()
A
44 11 48
checkifMediaLibrary()
A
50 9 29
refreshFolders()
A
52 8 24
addDirectory()
A
49 7 33
checkDirectoryRecursive()
S
55 5 23
addImage()
S
52 4 25
hasCustomImages()
S
57 4 18
getCustomImageByPath()
S
60 2 13
loadFoldersFromResult()
S
66 2 9
getActiveDirectoryIDS()
S
65 2 9
getFolderByID()
S
65 2 9
getInstance()
S
73 2 5
cleanUp()
S
68 1 7
__construct()
S
81 1 3
getFolderByPath()
S
76 1 4
getHiddenDirectoryIDS()
S
70 1 6
getActiveFolders()
S
75 1 4
getAllFolders()
S
76 1 4
getMetaTable()
S
76 1 4
getFolderTable()
S
76 1 4
hasFoldersTable()
S
80 1 3